#include<stdio.h>
#include<math.h>
int main()
 {
    int a =0, b = 0,c = 0;
   scanf("%d %d %d", &a, &b,&c);
   double cir = 0  ,area = 0,p = 0;
   cir = a + b + c ;
   p = cir /2.0;
   area = sqrt(p*(p-a)*(p-b)*(p-c));
   printf("circumference=%.2lf area=%.2lf",cir,area);
    return 0;
}
